﻿using System;
using Login;
using GoldWashing;
namespace ConsoleApp9
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("请输入:");
            string useName = Console.ReadLine();
            Console.WriteLine("请输入:");
            string usePassword = Console.ReadLine();
            string other;

            Login.zbc zbc1= new Login.zbc();
             bool result= zbc1.login(useName, usePassword, out other);
            Console.WriteLine("登陆结果{0}", result);
            Console.WriteLine("登陆信息：{0}", other);
            Console.WriteLine();


            int gold = 1000;
            GoldWashing.zbc zbc = new GoldWashing.zbc();
            zbc.age(ref gold);

            Console.WriteLine("最终{0}", gold);
        }
    }
}

namespace GoldWashing
{
    class zbc
    {
        public int MyProperty = 18;
        public void age(ref int gold)
        {
            gold += 12;
        }
    }


}
namespace Login
{
    class zbc
    {
       public bool login(string a,string b,out string other)
        {
            other = "迈阿密";
            return true;
        }
    }


}
